package com.settlement.system.controller;

import com.settlement.system.service.IBaseService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.annotations.Api;
import com.settlement.system.model.entity.common.TblAlipayRemainAmount;
import jakarta.annotation.Resource;
import com.settlement.system.service.ITblAlipayRemainAmountService;

import java.util.Map;

/**
 * 支付宝余额 前端控制器
 * @author xiaochuan
 * @since 2020-12-22
 */

@Api(tags = "支付宝余额",description = "支付宝余额")
@RestController
@RequestMapping("/alipay/remain_amount")
@Validated
public class TblAlipayRemainAmountController extends MergeApiExcelController<TblAlipayRemainAmount, Map<String, Object>> {

    @Resource
    private ITblAlipayRemainAmountService tblAlipayRemainAmountService;

    @Override
    public IBaseService init() {
        return tblAlipayRemainAmountService;
    }

    @Override
    public Class<?> getModelClass() {
        return TblAlipayRemainAmount.class;
    }
}

